function google_ad_request_done_internal(ads, borderColor, border, header, adUnitFormat, adUnitFormatOverride,
backgroundColor, tracParams, titleFontColor, titleFontSize,
bodyFontColor, bodyFontSize, urlFontSize, template_version, property_name
) {
/*
* If no ads are returned then dont build the ad block
*/
if (ads.length == 0) {
return;
}
var textAlign = "";
var extraClass = "";
if (ads[0].type == "text") {
extraClass = adUnitFormat + ads.length + " " + adUnitFormatOverride;
} else {
borderColor = "FFFFFF";
border = "";
textAlign = "center";
extraClass = adUnitFormat + "_google_img";
}
if (header != "") {
document.write("
");
}
var mainDiv = "");
// if (ads[0].bidtype == "CPC") {
// adSkipCounter += i;
// }
}
// #11827 Business Insider, ap-BI-BlendedAds
function google_ad_request_done_internal_BI_blended(ads, borderColor, border, header, adUnitFormat, adUnitFormatOverride,
backgroundColor, tracParams, titleFontColor, titleFontSize,
bodyFontColor, bodyFontSize, urlFontSize, template_version, property_name
) {
/*
* If no ads are returned then dont build the ad block
*/
if (ads.length == 0) {
return;
}
var textAlign = "";
var extraClass = "";
if (ads[0].type == "text") {
extraClass = adUnitFormat + ads.length + " " + adUnitFormatOverride;
} else {
borderColor = "FFFFFF";
border = "";
textAlign = "center";
extraClass = adUnitFormat + "_google_img";
}
if (header != "") {
document.write("");
}
var mainDiv = "");
}